/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.servico;

import br.com.deployment.entidade.humana.Pessoa;
import br.com.deployment.entidade.registroimovel.Imovel;
import br.com.deployment.entidade.registroimovel.Transferencia;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author roniere
 */
@Remote
public interface TransferenciaServico {
    
    public void create(Transferencia transferir);

    void edit(Transferencia transferir);

    void remove(Transferencia transferir);

    Transferencia find(int id);
    
    Transferencia verificaUltimaTrans(int idImovel);
    
    Transferencia verificaPrimeiraTrans(int idImovel);

    List<Transferencia> findAll();

    List<Transferencia> findTransferir(Transferencia transferir);
    
    List<Transferencia> findTransImovel(Imovel imovel, Pessoa pessoaAdquirente, Pessoa pessoaTransmitente, Boolean anterior);
    
    List<Transferencia> findImovelAll(Imovel imovel, String str);
    
    public void transferir(Imovel imovel, Transferencia transferencia);
    
    public void transfImovel(Imovel imovel, Transferencia transferenciaImovel);
    
    
}
